public class GanttChart {
        /* **************************************************************
// Creater: Alexander Faust
// Description: Controller for VFPage containing the GanttChart javascript for campaign visualization
// Testclass: N/A (yet)
// Apex Class Access: no limitations
// Last modified by: Alexander Faust
// Last modified date: 07.11.2012
// Latests changes: -changed some filter options
// ************************************************************** */
        
        public String sSelectedFilter{get;set;}
        
        //Controller
        public GanttChart(){
        
            sSelectedFilter = 'FY 12/13 01.07.2012 - 30.06.2013';
                
        }//END public GanttChart()
        
        //get filteroptions for javascript query to filter output of ganttchart
        public List<SelectOption> getFilterOptions(){
                List<SelectOption> listResult = new List<SelectOption>();
                
                listResult.add(new SelectOption('2012','FY 12/13 01.07.2012 - 30.06.2013'));                
                listResult.add(new SelectOption('2013','FY 13/14 01.07.2013 - 30.06.2014'));
                listResult.add(new SelectOption('2011','FY 11/12 01.07.2011 - 30.06.2012'));
                listResult.add(new SelectOption('alle Kampagnen','alle Kampagnen')); 
                
                return listResult;
        }
        
        public static testmethod  void myUnitTest(){
                GanttChart gantt = new GanttChart();
                
                gantt.getFilterOptions();
        }
}